package processor

import (
	"strings"
)

const (
	_prefix= "hotel-merchant"
)

type Processor interface {
	Process(string) string
}

type PrefixProcessor struct {
}

func (p *PrefixProcessor) Process(input string) string {
	return input[strings.Index(input, _prefix):]
}

func NewPrefixProcessor() Processor {
	return &PrefixProcessor{}
}
